/*
 * UsingBinaryTree.h
 *
 *  Created on: Nov 10, 2010
 *      Author: jacob
 */

#ifndef USINGBINARYTREE_H_
#define USINGBINARYTREE_H_
#include <string.h>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <fstream>
#include <iostream>
#include "BinaryTree.h"
using namespace std;



//REMOVE ME
#include <iostream>
using std::cout;
using std::cin;

class UsingBinaryTree
{
public:
	static UsingBinaryTree* newBinaryTreeDemo();
	void run();
	virtual ~UsingBinaryTree();
private:
	char userInput;
	string newLine;
	string displayMainMenu();
	void chooseAction();
	void addToTree();
	void deleteFromTree();
	void searchTree();
	void traverseTree();
	void saveTree();
	void loadTree();
	BinaryTree<int>* binaryTree;
	UsingBinaryTree();
};

#endif /* USINGBINARYTREE_H_ */
